#ifndef __HAL_ADC_H__
#define __HAL_ADC_H__

/*===========================================================================

Type definition.

===========================================================================*/
#define ADC_CHANNEL_0 0 // RTP
#define ADC_CHANNEL_1 1 // RTN

/*****************************************************************
 * Function: hal_AdcRead
 *
 * Description:
 * 	Read ADC value
 *
 * Parameters:
 * 	adc_channel 	[in] 	ADC channel
 *
 * Return:
 *   value > 0 : The valid ADC value(unit: mv).
 *   vlaue <0  : Error value
 *               -1: PMIC is not PM803
 *               -2: dsp not ready
 *               -3: get adc fail
 *
 *****************************************************************/
int hal_AdcRead(UINT8 adc_channel);

#endif
